package com.ruoyi.blogs.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户关注关系对象 bs_user_follow
 * 
 * @author ruoyi
 * @date 2022-12-09
 */
@ApiModel(value = "BsUserFollow", description = "用户关注关系实体")
public class BsUserFollow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** 用户ID(粉丝ID) */
    @Excel(name = "用户ID(粉丝ID)")
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 关注的用户ID */
    @Excel(name = "关注的用户ID")
    @ApiModelProperty("关注的用户ID")
    private Long followedUserId;

    /** 关注状态(0关注 1取消) */
    @Excel(name = "关注状态(0关注 1取消)")
    @ApiModelProperty("关注状态(0关注 1取消)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFollowedUserId(Long followedUserId) 
    {
        this.followedUserId = followedUserId;
    }

    public Long getFollowedUserId() 
    {
        return followedUserId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("followedUserId", getFollowedUserId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
